﻿<div class="datalist">
	<div id="list_magics_shop_c" class="c_header">
		<h3 class="noarrow">{lang magics_recommend}</h3>
	</div>
	<div id="list_magics_shop" class="mymagic">
	<ul class="inlinelist s_clear">
		<!--{if $recommendmagiclist}-->
				<!--{eval $i=0;}-->
				<!--{loop $recommendmagiclist $key $magic}-->
					<li>
						<div class="magicimg"><img src="images/magics/$magic[pic]" alt="$magic[name]" /></div>
						<div class="magicdetail">
							<h5>$magic[name]</h5>
							<p>$magic[description]</p>
							<p>{lang magics_price}&nbsp;&nbsp;<strong>$magic[price]{$extcredits[$creditstransextra[3]][title]}/{lang unit}</strong>
							<a href="magic.php?action=shop&operation=buy&magicid=$magic[magicid]" onclick="showWindow('magics', this.href);return false;">{lang magics_operation_buy}</a>
							<!--{if $allowmagics > 1}-->
								<a href="magic.php?action=shop&operation=give&magicid=$magic[magicid]" onclick="showWindow('magics', this.href);return false;">{lang magics_operation_present}</a>
							<!--{/if}-->
							</p>
						</div>
					</li>
					<!--{if $i%2}--><li class="clear"></li><!--{/if}-->
					<!--{eval $i++;}-->
				<!--{/loop}-->
				<!--{if !empty($mymultipage)}--><li class="clear"><div class="pages_btns">$mymultipage</div></li><!--{/if}-->
		<!--{else}-->
			<li class="clear">{lang data_nonexistence}</li>
		<!--{/if}-->
	</ul>
	</div>
	<div id="list_magics_shop_c" class="c_header">
		<h3 class="noarrow">{lang magics_hot}</h3>
	</div>
	<div id="list_magics_shop" class="mymagic">
	<ul class="inlinelist s_clear">
		<!--{if $hotmagiclist}-->
				<!--{eval $i=0;}-->
				<!--{loop $hotmagiclist $key $magic}-->
					<li>
						<div class="magicimg"><img src="images/magics/$magic[pic]" alt="$magic[name]" /></div>
						<div class="magicdetail">
							<h5>$magic[name]</h5>
							<p>$magic[description]</p>
							<p>{lang magics_price}&nbsp;&nbsp;<strong>$magic[price]{$extcredits[$creditstransextra[3]][title]}/{lang unit}</strong>&nbsp;&nbsp;<a href="magic.php?action=shop&operation=buy&magicid=$magic[magicid]" onclick="showWindow('magics', this.href);return false;">{lang magics_operation_buy}</a>
							<!--{if $allowmagics > 1}-->
								<a href="magic.php?action=shop&operation=give&magicid=$magic[magicid]" onclick="showWindow('magics', this.href);return false;">{lang magics_operation_present}</a>
							<!--{/if}-->
							</p>
						</div>
					</li>
					<!--{if $i%2}--><li class="clear"></li><!--{/if}-->
					<!--{eval $i++;}-->
				<!--{/loop}-->
				<!--{if !empty($mymultipage)}--><li class="clear"><div class="pages_btns">$mymultipage</div></li><!--{/if}-->
		<!--{else}-->
			<li class="clear">{lang data_nonexistence}</li>
		<!--{/if}-->
	</ul>
	</div>

</div>